package com.store.mapper.hzl;

import com.store.entity.Brand;
import com.store.entity.PageManager;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ClassName:BrandMapper
 * package:com.store.mapper.hzl
 * Description:
 *
 * @Date:2021/1/19 14:22
 * @Author: tank_黄志凌
 */
@Repository
public interface BrandMapper {

    List<Brand> queryBrand(int pn,int rn);

    int queryBrandTotalCount();

    int addBrand(Brand brand);

    Brand queryBrandById(int id);

    int updateBrand(Brand brand);

    int deleteBrand(int id);
}
